import webview


def _main():
    webview.settings["DRAG_REGION_SELECTOR"] = ".bili-header__banner"

    window = webview.create_window("Bilibili", "https://www.bilibili.com/", width=1366, height=768, easy_drag=False,
                                   frameless=True, resizable=True)
    webview.start(debug=True)


if __name__ == "__main__":
    _main()
